Use monospace for the source code view. (#163526, Theerud Lawtrakul)
authorMatthias Clasen <mclasen@redhat.com>
Thu, 13 Jan 2005 15:55:57 +0000 (15:55 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 13 Jan 2005 15:55:57 +0000 (15:55 +0000)
2005-01-13  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/main.c (create_text): Use monospace for the
source code view.  (#163526, Theerud Lawtrakul)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
demos/gtk-demo/main.c

index 7597505ec9a6a147aa1ec6cfb174da6091cd86cf..7159c395dbe456aa642d56c13f8bba4f5c8dd2a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-01-13  Matthias Clasen  <mclasen@redhat.com>
 
+       * demos/gtk-demo/main.c (create_text): Use monospace for the 
+       source code view.  (#163526, Theerud Lawtrakul)
+
        * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
        for the Credits button to avoid duplicate.  (#163465, Tim-Philipp 
        Müller)
index 7597505ec9a6a147aa1ec6cfb174da6091cd86cf..7159c395dbe456aa642d56c13f8bba4f5c8dd2a6 100644 (file)
@@ -1,5 +1,8 @@
 2005-01-13  Matthias Clasen  <mclasen@redhat.com>
 
+       * demos/gtk-demo/main.c (create_text): Use monospace for the 
+       source code view.  (#163526, Theerud Lawtrakul)
+
        * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
        for the Credits button to avoid duplicate.  (#163465, Tim-Philipp 
        Müller)
index 7597505ec9a6a147aa1ec6cfb174da6091cd86cf..7159c395dbe456aa642d56c13f8bba4f5c8dd2a6 100644 (file)
@@ -1,5 +1,8 @@
 2005-01-13  Matthias Clasen  <mclasen@redhat.com>
 
+       * demos/gtk-demo/main.c (create_text): Use monospace for the 
+       source code view.  (#163526, Theerud Lawtrakul)
+
        * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
        for the Credits button to avoid duplicate.  (#163465, Tim-Philipp 
        Müller)
index c434ae0b507fa273f0cf65553fed557f20205887..33a99e1f26b1d5399f96eaff8dac6c16c48280e3 100644 (file)
@@ -666,7 +666,7 @@ create_text (GtkTextBuffer **buffer,
   
   if (is_source)
     {
-      font_desc = pango_font_description_from_string ("Courier 12");
+      font_desc = pango_font_description_from_string ("monospace");
       gtk_widget_modify_font (text_view, font_desc);
       pango_font_description_free (font_desc);